package com.engine4cloud.tdf.supervision.dto.create;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import java.io.Serializable;
import java.time.LocalDate;
import java.util.List;

/**
 * 矫正对象判决信息-创建对象
 *
 * @author wenjie
 * @date 2024-03-15 15:08:04
 */
@Data
@Schema(description = "矫正对象判决信息-创建对象")
public class JzdxJudgmentCreateDTO implements Serializable {

    /**
     * 社区矫正对象编号
     */
    @Schema(description = "社区矫正对象编号")
    @NotBlank(message = "社区矫正对象编号不能为空")
    private String rybh;

    /**
     * 社区矫正决定机关
     */
    @Schema(description = "社区矫正决定机关", example = "01")
    @NotBlank(message = "社区矫正决定机关不能为空")
    private String sqjzjdjg;

    /**
     * 社区矫正决定机关名称
     */
    @Schema(description = "社区矫正决定机关名称")
    private String sqjzjdjgmc;

    /**
     * 执行通知书文号
     */
    @Schema(description = "执行通知书文号")
    @NotNull(message = "执行通知书文号不能为空")
    private String zxtzswh;

    /**
     * 执行通知书日期
     */
    @Schema(description = "执行通知书日期", example = "2024-01-01")
    @NotNull(message = "执行通知书文号不能为空")
    private LocalDate zxtzsrq;

    /**
     * 交付执行日期
     */
    @Schema(description = "交付执行日期", example = "2024-01-01")
    @NotNull(message = "交付执行日期不能为空")
    private LocalDate jfzxrq;

    /**
     * 移交罪犯机关
     */
    @Schema(description = "移交罪犯机关", example = "01")
    private String yjzfjg;

    /**
     * 移交罪犯机关名称
     */
    @Schema(description = "移交罪犯机关名称")
    private String yjzfjgmc;

    /**
     * 是否有前科
     */
    @Schema(description = "是否有前科", example = "1")
    @NotBlank(message = "是否有前科不能为空")
    private String sfyqk;

    /**
     * 是否累犯
     */
    @Schema(description = "是否累犯", example = "1")
    @NotBlank(message = "是否累犯不能为空")
    private String sflf;

    /**
     * 前科类型
     */
    @Schema(description = "前科类型", example = "01")
    private String qklx;

    /**
     * 主要犯罪事实
     */
    @Schema(description = "主要犯罪事实")
    @Length(max = 2000, message = "主要犯罪事实，最多不能超过2000个字符串")
    private String zyfzss;

    /**
     * 社区矫正期限
     */
    @Schema(description = "社区矫正期限", example = "2年")
    @NotBlank(message = "社区矫正期限不能为空")
    private String sqjzqx;

    /**
     * 社区矫正开始日期
     */
    @Schema(description = "社区矫正开始日期", example = "2024-01-01")
    @NotNull(message = "社区矫正开始日期不能为空")
    private LocalDate sqjzksrq;

    /**
     * 社区矫正结束日期
     */
    @Schema(description = "社区矫正结束日期", example = "2027-01-01")
    @NotNull(message = "社区矫正结束日期不能为空")
    private LocalDate sqjzjsrq;

    /**
     * 是否数罪并罚
     */
    @Schema(description = "是否数罪并罚", example = "1")
    @NotBlank(message = "是否数罪并罚不能为空")
    private String sfszbf;

    /**
     * 原判刑罚
     */
    @Schema(description = "原判刑罚", example = "01")
    private String ypxf;

    /**
     * 原判刑期
     */
    @Schema(description = "原判刑期", example = "2年")
    private String ypxq;

    /**
     * 原判刑期开始日期
     */
    @Schema(description = "原判刑期开始日期")
    private LocalDate ypxqksrq;

    /**
     * 原判刑期结束日期
     */
    @Schema(description = "原判刑期结束日期")
    private LocalDate ypxqjsrq;

    /**
     * 有期徒刑期限
     */
    @Schema(description = "有期徒刑期限", example = "01")
    private String yqtxqx;

    /**
     * 管制期限
     */
    @Schema(description = "管制期限", example = "01")
    private String gzqx;

    /**
     * 缓刑考验期限
     */
    @Schema(description = "缓刑考验期限", example = "01")
    private String hxkyqx;

    /**
     * 附加刑
     */
    @Schema(description = "附加刑", example = "01")
    private String fjx;

    /**
     * 五独
     */
    @Schema(description = "五独", example = "[\"01\"]")
    private List<String> fiveIndependenceList;

    /**
     * 五涉
     */
    @Schema(description = "五涉", example = "[\"01\"]")
    private List<String> fiveInvolvementList;

    /**
     * 四史
     */
    @Schema(description = "四史", example = "[\"01\"]")
    private List<String> fourHistoryList;
}